package adv324;

/**
 * @author oldliu
 * @since 1.0
 */
public class MathTest {
    public static void main(String[] args) {
        System.out.println(Math.random());
        System.out.println(Math.pow(3,6));//幂操作
        System.out.println(Math.floor(14.5));//小于等于这个数的最大整数
        //14
        System.out.println(Math.floor(-14.5));//-15
        System.out.println(Math.ceil(14.5));//大于等于这个数的最小整数
        //15
        System.out.println(Math.ceil(-14.5));
        //-14
        System.out.println(Math.PI);
        System.out.println(Math.sin(0.6));
        System.out.println(Math.asin(0.6)*180/Math.PI);
        System.out.println(Math.sqrt(9));
    }
}
